home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / plugins / postproc / fog / r3fogmod.js < prev   
Encoding:
Text File  |  2005-04-04  |  1.9 KB  |  75 lines

  1.  
  2. // This JavaScript file was autogenerated from inc/plugins/postproc/fog/r3fogmod.h
  3. // Do not modify by hand
  4. // Copyrights 2001, Realsoft Graphics, Finland
  5.  
  6. include("real/code/r3postim.js")
  7. var R3CLID_FOGMODEL = 840;
  8.  
  9. R3FOGMDM_ = 840000;
  10.  
  11. function _R3FOGMDM_() {
  12.   return this.r3Do(R3FOGMDM_, arguments);
  13. }
  14.  
  15. R3FOGMDA_Color = 840500;
  16. function SetR3FOGMDA_Color(value) {
  17.   this.r3Set(R3FOGMDA_Color, value);
  18. }
  19.  
  20. function GetR3FOGMDA_Color() {
  21.   var value = 0;
  22.   return this.r3Get(R3FOGMDA_Color, value); // R3FLOATCOLOR3*
  23. }
  24.  
  25. R3FOGMDA_MinDistance = 840501;
  26. function SetR3FOGMDA_MinDistance(value) {
  27.   this.r3Set(R3FOGMDA_MinDistance, value);
  28. }
  29.  
  30. function GetR3FOGMDA_MinDistance() {
  31.   var value = 0;
  32.   return this.r3Get(R3FOGMDA_MinDistance, value); // R3FLOAT*
  33. }
  34.  
  35. R3FOGMDA_MaxDistance = 840502;
  36. function SetR3FOGMDA_MaxDistance(value) {
  37.   this.r3Set(R3FOGMDA_MaxDistance, value);
  38. }
  39.  
  40. function GetR3FOGMDA_MaxDistance() {
  41.   var value = 0;
  42.   return this.r3Get(R3FOGMDA_MaxDistance, value); // R3FLOAT*
  43. }
  44.  
  45. R3FOGMDA_MaxSaturation = 840503;
  46. function SetR3FOGMDA_MaxSaturation(value) {
  47.   this.r3Set(R3FOGMDA_MaxSaturation, value);
  48. }
  49.  
  50. function GetR3FOGMDA_MaxSaturation() {
  51.   var value = 0;
  52.   return this.r3Get(R3FOGMDA_MaxSaturation, value); // R3FLOAT *
  53. }
  54.  
  55. function r3Fogmodel () { 
  56.    this.base = r3God;
  57.    if(arguments.length) {
  58.       this.base(R3CLID_FOGMODEL, arguments);
  59.    }
  60.    // Methods
  61.    this.=_R3FOGMDM_;
  62.  
  63.    // Attributes
  64.    this.GetColor=GetR3FOGMDA_Color;
  65.    this.SetColor=SetR3FOGMDA_Color;
  66.    this.GetMinDistance=GetR3FOGMDA_MinDistance;
  67.    this.SetMinDistance=SetR3FOGMDA_MinDistance;
  68.    this.GetMaxDistance=GetR3FOGMDA_MaxDistance;
  69.    this.SetMaxDistance=SetR3FOGMDA_MaxDistance;
  70.    this.GetMaxSaturation=GetR3FOGMDA_MaxSaturation;
  71.    this.SetMaxSaturation=SetR3FOGMDA_MaxSaturation;
  72. }
  73.  
  74. r3Fogmodel.prototype=new r3Postimageeffectmodel;
  75. // inc/plugins/postproc/fog/r3fogmod.h_H